﻿using System.Collections.Generic;

namespace FinancePortal.Domain.Model
{
    public class Area : Entity
    {
        public Area()
        {
            //Resources = new List<Resource>();
            //Activities = new List<Activity>();
            //ChildAreas = new List<Area>();
        }

        //[Required(ErrorMessage = "A name is required")]
        //[StringLength(50)]
        public virtual string Name { get; set; }

        public virtual Area ParentArea { get; set; }

        public virtual int? ParentAreaId { get; set; }

        public virtual bool AreaClient { get; set; }

        //public virtual IList<Resource> Resources { get; set; }

        //public virtual IList<Activity> Activities { get; set; }

        //public virtual IList<Area> ChildAreas { get; set; }
    }
}
